projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
821188d
)
(direct_output_for_insert): Dpn't call compute_char_face
author
Richard M. Stallman
<rms@gnu.org>
Wed, 20 Jul 1994 19:35:41 +0000
(19:35 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 20 Jul 1994 19:35:41 +0000
(19:35 +0000)
for a non-X frame.
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index 0e89f037de81a516ab59839d7ffc12b225caec10..c2e27acf0d3b59b9bfba983e024d8653bfa6a785 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-1085,9
+1085,12
@@
direct_output_for_insert (g)
return 0;
{
+ int face = 0;
#ifdef HAVE_X_WINDOWS
int dummy;
- int face = compute_char_face (frame, w, point - 1, -1, -1, &dummy, point);
+
+ if (FRAME_X_P (frame))
+ face = compute_char_face (frame, w, point - 1, -1, -1, &dummy, point);
#endif
current_frame->glyphs[vpos][hpos] = MAKE_GLYPH (frame, g, face);
current_frame->charstarts[vpos][hpos] = point - 1;